package org.zfes.snowier.zbss.xzy.biz.aftersale.model;
import org.zfes.snowier.core.data.IBaseModel;
public class AfterSale extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public AfterSale() {}
	public AfterSale(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	@javax.validation.constraints.NotNull(message="会员不能为空")
	  private java.lang.Long userId;
	  private java.lang.String account;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	  private java.util.Date handleTime;
	  private java.lang.Byte status;
	  private java.lang.Byte handled;
	  private java.lang.Long handleUserId;
	  private java.lang.String handleAccount;
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="内容长度不能大于65,535")
	  private java.lang.String content;
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="处理结果长度不能大于65,535")
	  private java.lang.String handleRes;
 
	
	//<-------------------------------------------->
	public AfterSale setUserId(java.lang.Long userId){
	 this.userId=userId;
	 return this;
	}
	public java.lang.Long getUserId(){
		return this.userId;
	}
	public AfterSale setAccount(java.lang.String account){
		this.account=account==null?null:account.trim();
	 return this;
	}
	public java.lang.String getAccount(){
		return this.account;
	}
	public AfterSale setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public AfterSale setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public AfterSale setHandleTime(java.util.Date handleTime){
	 this.handleTime=handleTime;
	 return this;
	}
	public java.util.Date getHandleTime(){
		return this.handleTime;
	}
	public AfterSale setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public AfterSale setHandled(java.lang.Byte handled){
	 this.handled=handled;
	 return this;
	}
	public java.lang.Byte getHandled(){
		return this.handled;
	}
	public AfterSale setHandleUserId(java.lang.Long handleUserId){
	 this.handleUserId=handleUserId;
	 return this;
	}
	public java.lang.Long getHandleUserId(){
		return this.handleUserId;
	}
	public AfterSale setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}
	public AfterSale setHandleRes(java.lang.String handleRes){
		this.handleRes=handleRes==null?null:handleRes.trim();
	 return this;
	}
	public java.lang.String getHandleRes(){
		return this.handleRes;
	}
	public java.lang.String getHandleAccount() {
		return handleAccount;
	}
	public AfterSale setHandleAccount(java.lang.String handleAccount) {
		this.handleAccount = handleAccount;
		 return this;
	}
	@Override
	public String toString() {
		return "AfterSale [userId=" + userId + ", account=" + account + ", createTime=" + createTime + ", updateTime="
				+ updateTime + ", handleTime=" + handleTime + ", status=" + status + ", handled=" + handled
				+ ", handleUserId=" + handleUserId + ", handleAccount=" + handleAccount + ", content=" + content
				+ ", handleRes=" + handleRes + "]";
	}
	

}
